<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>首页</title>
    <link rel="stylesheet" href="../../libs/node_modules/bootstrap/dist/css/bootstrap.min.css">
    <link rel="stylesheet" href="../../style/wap/index.css">
    <link rel="stylesheet" href="../../style/wap/station.css">
    <script src="../../libs/jquery-3.2.1.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
    <script src="../../libs/node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
    <script src="../../libs/layer-v3.1.1/layer/layer.js"></script>
    <!--<script src="js/system.js"></script>-->
</head>
<body>
<header>
    <div class="tool-bar">选择站点</div>
</header>

<nav>
    <a href="index.html">
        <p>
            <span class="home-icon"></span>
        </p>
        <span class="icon-name">首页</span>
    </a>
    <a href="#" class="active">
        <p>
            <span class="station-icon"></span>
        </p>
        <span class="icon-name">选站</span>
    </a>
    <a href="ask.html">
        <p>
            <span class="problem-icon"></span>
        </p>
        <span class="icon-name">问问</span>
    </a>
    <a href="mine.html">
        <p>
            <span class="my-icon"></span>
        </p>
        <span class="icon-name">我的</span>
    </a>
</nav>
<main>
    <div class="content">
        <div class="station-title">
            全国
        </div>

        <div class="station-item">
            <a href="" class="station-name">成都</a>
            <a href="" class="station-name">成都</a>
            <a href="" class="station-name">成都</a>
            <a href="" class="station-name">成都</a>
            <a href="" class="station-name">成都</a>
            <a href="" class="station-name">成都</a>
        </div>
        <div class="station-item">
            <a href="" class="station-name">成都</a>
            <a href="" class="station-name">成都</a>
            <a href="" class="station-name">成都</a>
            <a href="" class="station-name">成都</a>
            <a href="" class="station-name">成都</a>
            <a href="" class="station-name">成都</a>
        </div>
        <div class="station-item">
            <a href="" class="station-name">成都</a>
            <a href="" class="station-name">成都</a>
            <a href="" class="station-name">成都</a>
            <a href="" class="station-name">成都</a>
            <a href="" class="station-name">成都</a>
            <a href="" class="station-name">成都</a>
        </div>

    </div>
</main>


<script>

    var userAgent = navigator.userAgent.toLowerCase();
    var platform;
    if(userAgent == null || userAgent == ''){
        platform = 'WEB' ;
    }else{
        if(userAgent.indexOf("android") != -1 ){
            platform = 'ANDROID';
//            location.href = "";
        }else if(userAgent.indexOf("ios") != -1 || userAgent.indexOf("iphone") != -1 || userAgent.indexOf("ipad") != -1){
            platform = 'IOS';
//            location.href = "";
        }else if(userAgent.indexOf("windows phone") != -1 ){
            platform = 'WP';
//            location.href = "";
        }else{
            platform = 'WEB' ;
            location.href = "../../index.html";
        }
    }





</script>
</body>
</html>